#
# Makefile for myfs file system
#

ifneq ($(KERNELRELEASE),)
obj-m:= myfs.o

myfs-y := module.o myfs_inode.o myfs_ialloc.o myfs_file.o myfs_namei.o myfs_dir.o myfs_symlink.o

else
KDIR:= /usr/src/$(shell uname -r)
PWD:= $(shell pwd)
default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
endif
